/**
 * Title: 
 * FileName: StrutsFormHandlerImpl.java
 * Description: 
 * @Copyright: PowerData Software Co.,Ltd. All Rights Reserved.
 * @Company: 深圳市博安达软件开发有限公司
 * @author: 李东喜
 * @version: 1.0
 * Create Date: 2009-8-10
 */
package util.impl;

import java.util.Hashtable;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionMapping;
import org.apache.struts.action.DynaActionForm;
import org.apache.struts.upload.MultipartRequestHandler;

import util.interfaces.IStrutsFormHandler;

/**
 * 
 * @author 李东喜
 * 2009-8-10
 */
public class StrutsFormHandlerImpl implements IStrutsFormHandler {
    
    public StrutsFormHandlerImpl(ActionMapping mapping, ActionForm form,
            HttpServletRequest request, HttpServletResponse response) {
        
        DynaActionForm df = (DynaActionForm) form;
        MultipartRequestHandler handler = df.getMultipartRequestHandler();
        Hashtable files = handler.getFileElements();
        //files.
        
    }
    
}
